Explorar el Código

fix for bolus progress overlay

polscm32 aka Marvout hace 1 año
padre
commit
e7efa9c98f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Trio Watch App Extension/WatchState.swift

+ 1 - 0
Trio Watch App Extension/WatchState.swift

@@ -56,6 +56,7 @@ import WatchConnectivity
     /// - Parameters:
     ///   - amount: The insulin amount to be delivered
     func sendBolusRequest(_ amount: Decimal) {
+        isBolusCanceled = false // Reset canceled state when starting new bolus
         guard let session = session, session.isReachable else { return }
 
         let message: [String: Any] = [